package com.hjm.project.terminal.manufacturer.mapper;

import com.hjm.project.terminal.manufacturer.domain.Manufacturer;

import java.util.List;
import java.util.Map;

/**
 * 厂商Mapper接口
 * 
 * @author LOVE
 * @date 2020-11-26
 */
public interface ManufacturerMapper 
{
    /**
     * 查询厂商
     * 
     * @param manuNum 厂商ID
     * @return 厂商
     */
    public Manufacturer selectManufacturerById(Long manuNum);

    /**
     * 查询厂商列表
     * 
     * @param manufacturer 厂商
     * @return 厂商集合
     */
    public List<Manufacturer> selectManufacturerList(Manufacturer manufacturer);

    /**
     * 新增厂商
     * 
     * @param manufacturer 厂商
     * @return 结果
     */
    public int insertManufacturer(Manufacturer manufacturer);

    /**
     * 修改厂商
     * 
     * @param manufacturer 厂商
     * @return 结果
     */
    public int updateManufacturer(Manufacturer manufacturer);

    /**
     * 删除厂商
     * 
     * @param manuNum 厂商ID
     * @return 结果
     */
    public int deleteManufacturerById(Long manuNum);

    /**
     * 批量删除厂商
     * 
     * @param manuNums 需要删除的数据ID
     * @return 结果
     */
    public int deleteManufacturerByIds(String[] manuNums);

    public int getCountByCode(String manuCode);

    public List<Map> getAll(Map map);

    public List<Map> getManufacturer();

    public List<Map> getManufacturer(Manufacturer manufacturer);


    public List<Map> getActManufacturer(Map<String, Object> map);


    public List<Map<String, Object>> getTerminalModel(Map<String, Object> map);







}
